passthrough: update bus2bridge mapping as PCI devices get added/removed
authorJan Beulich <jbeulich@suse.com>
Mon, 10 Oct 2011 07:21:32 +0000 (09:21 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 10 Oct 2011 07:21:32 +0000 (09:21 +0200)
commitea12637d63b5d6660c58016a7d3d2ad35b76a7d7
treee485413769e8bc2109cd2c798ce1a5ad00328a26
parent73d93934f0ef6469dca063b19052a73cddda3ce1
passthrough: update bus2bridge mapping as PCI devices get added/removed

This deals with two limitations at once: On device removal, the
mapping did not get updated so far at all, and hotplugged devices as
well as such not discoverable by Xen's initial bus scan (including the
case where a non-zero PCI segment wasn't accessible during Xen boot,
but became accessible after Dom0 validated access information against
ACPI data) wouldn't cause updates to the mapping either.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: "Kay, Allen M" <allen.m.kay@intel.com>
xen/drivers/passthrough/pci.c